package org.example.traing.service;

import org.apache.ibatis.annotations.Insert;
import org.example.traing.entity.JobDetail;
import org.example.traing.entity.User;
import org.example.traing.entity.UserDetail;

import java.util.List;

public interface UserService {

    public User Login(User user);

    public int addUser(User user);

    public int updateUser(User user);

    public int deleteUser(String uid);

    public UserDetail getUserDetail(String uid);

    public UserDetail updateUserDetail(UserDetail userDetail);

    public List<JobDetail> getTreasureJob(String uid);

    public int addTreasure(String uid,String jobId);
    public int deleteTreasure(String uid,String jobId);

    public List<JobDetail> getMeetingJob(String uid);

    public int addMeeting(String uid,String jobId);


    public int deleteMeeting(String uid,String jobId);

    public List<JobDetail> getSendJob(String uid);

    public int addSend(String uid,String jobId);

    public int deleteSend(String uid,String jobId);







}
